﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace FwProject.ShoppingMall.Com
{
    /// <summary>
    /// 内容类别
    /// </summary>
    [Table("contentType")]
    public class ContentType:Entity<Guid>
    {
        public const int TypeNameLength = 50;

        /// <summary>
        /// 名称
        /// </summary>
        [MaxLength(TypeNameLength)]
        public string Name { get; set; }

        public virtual ICollection<ContentManage> ContentManages { get; set; }
    }
}
